<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        .page{
            max-width: 100%;
            height: 100%;
            font-size: 0; 
            position: relative;
        }
        .page .head{
            width: 100%;
            height: 1rem;
            line-height: 1rem;
            background-color: #fff;
            position: absolute;
            top:0;
            left: 0;
            display: flex;
            justify-content: space-between;
            padding:0 0.2rem;
            box-sizing: border-box;
            font-size: 0.16rem;
            color:#686868; 
            z-index: 999;
        }
        .page .head div{
            width: 33%;
            text-align: center;
        }
        .page .head div.one{
            text-align: left; 
        }
        .page .head .two{
            font-size: 0.3rem;
            color:#686868; 
            font-weight: bold;
        }
        .page .content{
            background-color: #f3f3f3;
            width: 100%;
            position: absolute;
            top:1rem;
            left:0;
            bottom: 0;
            right: 0;
            overflow-y:scroll;
            height: 100rem;
        }
        .page .content::-webkit-scrollbar{
            display: none;
        }
        .page .content .tit{
            width: 100%;
            padding: 0.2rem 0 0 0;
            box-sizing: border-box;
            display: flex;
            justify-content: space-around;
           
        }
        .page .content .tit div{
            width: 50%;
            text-align: center;
            color:#686868; 
            font-size: 0.24rem;
           
        }
        .page .content .tit div span{
            display: inline-block;
            font-weight: bold;
            
        }
        .page .content .tit div.active{
            color:#e826bb;
            border-bottom: 2px solid #e826bb;
            padding-bottom: 0.2rem;
            box-sizing: border-box;
        }

    
    </style>

</head>

<body>
    <div class="page">
        <div class="head">
            <div class="one">
                <span><img src="" alt=""></span>
                <span>返回</span>
                <span>关闭</span>
            </div>
            <div class="two">粉丝</div>
            <div></div>
        </div>
        <div class="content">
            <div class="tit">
                <div class="active"> <span>关注</span><span>(0)</span></div>
                <div><span>粉丝</span><span>(1)</span></div>
            </div>
        </div>


    </div>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
    <script src="./js/rem.js"></script>
    <script>
        $(document).ready(function(){
            $('.tit div').click(function(){
                $(this).addClass("active").siblings().removeClass('active')
            })
        })

    </script>
</body>

</html>